#include"Queue.h"


void QueueTest()
{
	Queue q;
	QueueInit(&q);
	QueuePush(&q, 1);
	/*printf("%d ", QueueFront(&q));*/
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	/*printf("%d ", QueueFront(&q));
	QueuePop(&q);
	printf("%d ", QueueFront(&q));
	QueuePop(&q);*/

	QueuePush(&q, 4);
	QueuePush(&q, 5);
	/*while (!QueueEmpty(&q))
	{
		printf("%d ", QueueFront(&q));
		QueuePop(&q);
	}*/
	printf("%d", QueueBack(&q));
	

	QueueDestroy(&q);

}
int main()
{
	QueueTest();
	return 0;
}